package com.aplink.dellcommercial.fragments;

import android.os.Bundle;

import com.aplink.dellcommercial.R;
import com.aplink.dellcommercial.database.DellDataTable;
import com.aplink.generic.GenericFragment;
import com.aplink.generic.pojo.controlspec.ControlSpec;

public class PromotionPhotoPagerFragment extends GenericFragment {

    @Override
    public int getFormDesign() {

        return R.raw.form_design_photo_pager_activity;
    }

    @Override
    public int getContentData() {
        return R.raw.content_data_promotion;
    }

    @Override
    public String getTable() {
        return DellDataTable.ImagePromotion.TABLE_NAME;
    }

    @Override
    public void onActivityCreated( Bundle savedInstanceState ) {
        super.onActivityCreated( savedInstanceState );
        this.initData();
        this.loadDataToForm();
    }

    @Override
    protected void onHandleControlClickEvent( ControlSpec controlSpec ) {

    }

    @Override
    public int getContentView() {
        return R.layout.aplink_dellcommercial_photo_pager;
    }

}
